Skip to content

Added support mbstring.func_overload=2 #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

konstantin-s
Copy link

Resolves issue dompdf/dompdf#2298

@bsweeney bsweeney added this to the 0.5.3 milestone Feb 1, 2021
Copy link
Member

@bsweeney bsweeney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like function overloading is no longer an option as of PHP 8. Still, I think it makes sense to move forward with this change. There are other locations where PHP str functions are used on data variables. It's a bit tedious, but if you have the time and inclination it'd be great to switch to the related mbstring function in 8bit mode instead.

@bsweeney bsweeney changed the base branch from master to mbstring-overload December 8, 2021 02:43
@bsweeney bsweeney merged commit b78ce5f into dompdf:mbstring-overload Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants